/**
 * @name        banner.ts
 * @author      shenyc
 * @date        2020-05-06 - ?
 * @copyright   Copy right (c) shenyc (shenyczz@163.com).
 *              All rights reserved.
 *
 ******************************************************************************/
// {{@@@}}
"use strict";
// ----------------------------------------------------------------------------
/**
 *
 * @param pkg
 * @returns
 */
export function getBanner(pkg: any) {
    //
    const banner = `/**
 * @name        ${pkg.name}
 * @version     ${pkg.version}
 * @author      ${pkg.author.name}
 * @email       ${pkg.author.email}
 * @license     ${pkg.license}
 * @buildTime   __buildDate__
 * @copyright   Copy right (c) 2020 - ${new Date().getFullYear()}. All rights reserved.
 *
 ******************************************************************************/
`;
    return banner;
}
// ----------------------------------------------------------------------------
// {{@@@}}
